FROM java:8
EXPOSE 8080
VOLUME /tmp
ADD boot_spring-1.0-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

#直接执行 mvn package docker:build 即可